import ProxyInterface from '../proxy-interface';
import {FilePageModel} from '@pkpm/pkpm-types';

class FilePageProxy implements ProxyInterface<FilePageModel> {
    private filePage = new FilePageModel();

    constructor(responseDate) {
        let data = responseDate;
        Object.assign<FilePageModel, any>(this.filePage, data);
    }

    getModel(): FilePageModel {
        return this.filePage;
    }
}

export {FilePageProxy};
